<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>内敛表达式</title>
</head>
<body>
    <h2 style="color: red">内敛文本</h2>
    <div style="color: deepskyblue" th:inline="text">数据: [[${data}]]</div>
    <h2 style="color: red">内敛脚本</h2>
    <script type="text/javascript" th:inline="javascript">
        onload=function () {
            alert([[${data}]]);
        };
    </script>
</body>
</html>